From: Stephen Berman Date: Thu, 3 Apr 2025 14:53:35 +0000 (+0200) Subject: Fix obsolete documentation of desktop library X-Git-Tag: archive/raspbian/1%30.2+1-2+rpi1^2~2^2~24^2~159 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=ae7f65f3f9cbe03608c9920e7f2f82a5a82e62d6;p=emacs.git Fix obsolete documentation of desktop library * doc/emacs/misc.texi (Saving Emacs Sessions): Replace documentation of the long-deleted user option 'desktop-clear-preserve-buffers-regexp' with documentation of 'desktop-clear-preserve-buffers'. --- diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 5896dc83fe1..fbcb7294505 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -2907,8 +2907,8 @@ invoking @kbd{M-x desktop-read} next. The @code{desktop-clear} command kills all buffers except for internal ones, and clears the global variables listed in @code{desktop-globals-to-clear}. If you want it to preserve certain buffers, customize the variable -@code{desktop-clear-preserve-buffers-regexp}, whose value is a regular -expression matching the names of buffers not to kill. +@code{desktop-clear-preserve-buffers}, whose value is a list of regular +expressions matching the names of buffers not to kill. @vindex desktop-globals-to-save If you want to save minibuffer history from one session to